package com.zmn.oms.third.dj58.service;

import com.alibaba.fastjson.JSONObject;
import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.third.dj58.dto.api.DaoJia58Response;

/**
 * @author hyj
 * @version v1.0
 * @since 2020/6/24 16:33
 **/
public interface VasOrderBService {
    /**
     * 取消保单服务
     * @param daoJia58Response
     * @param data
     */
    void cancelInsure(DaoJia58Response daoJia58Response, JSONObject data);

    /**
     *  创建保单服务
     * @param daoJia58Response
     * @param daojiaJson
     */
    void createInsure(DaoJia58Response daoJia58Response, String daojiaJson)throws OmsBaseException;

}
